<!doctype html>
<html ng-app="myApp">
<head>
  <script src="js/angular.js"></script>
</head>
<body>


  Type here to make sibling readonly: <input type="text" ng-model="someProperty"><br/>
  <input type="text" ng-readonly="someProperty" value="Some text here"/>

  <script>
    angular.module('myApp', [])
  </script>

</body>
</html>